<%--
  Created by IntelliJ IDEA.
  User: eternal
  Date: 2024/11/9
  Time: 11:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  response.setHeader("Cache-Control", "no-cache, no-store, must-revalidate");
  response.setHeader("Pragma", "no-cache");
  response.setDateHeader("Expires", 0);
%>

<%
  if(session.getAttribute("user") ==null){
    out.print("<script language='JavaScript'>alert('请先登录！');window.location.href='../login.jsp'</script>");
  }
  cn.work.bean.userbean user = (cn.work.bean.userbean)session.getAttribute("user");
%>
<div class="nav">
  <nav>
    <a href="shouye.jsp">首页</a>
    <a href="xiangmu_recommend.jsp">项目推荐</a>
    <a href="user.jsp">
      <p>个人中心</p>
    </a>
    <input type="search" placeholder="请输入内容" />
    <a href="../logout" style="color: #00aaff">退出</a>
  </nav>
</div>
